
const PP = require('../plugins/pp')
const login = require('./login')
const message = require('./message')
const access = require('./access')
module.exports = io => {
  new PP(io)
    .add('login', login)
    .add('message', message)
    .add('entry', access('entry'))
    .add('quit', access('quit'))
    .disconnect(access('disconnect'))
}
